package com.yonyou.brigade.third_parties.smectrip.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author duhqh@yonyou.com
 * @since 2019-01-07
 */
@TableName("ctrip_sme_user")
public class CtripSmeUser extends Model<CtripSmeUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户userId
     */
    @TableField("user_id")
    private String userId;
    /**
     * 租户ID
     */
    private String tenant;
    /**
     * 组织信息
     */
    private String org;
    /**
     * 员工编号
     */
    @TableField("employee_id")
    private String employeeId;
    /**
     * 用户姓名
     */
    private String name;
    /**
     * 手机号码
     */
    private String mobile;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 是否管理员
     */
    @TableField("a_manager")
    private Boolean aManager;
    /**
     * 是否代订人 是true 否false
     */
    @TableField("has_booking_for_other")
    private Integer hasBookingForOther;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 外籍/港澳台人士FirstName
     */
    @TableField("first_name")
    private String firstName;
    /**
     * 	外籍/港澳台人士LastName
     */
    @TableField("last_name")
    private String lastName;
    /**
     * 是否正在使用
     */
    private Boolean valid;
    /**
     * 部门1
     */
    private String dept1;
    /**
     * 部门2
     */
    private String dept2;
    /**
     * 成本中心1
     */
    private String cost1;
    /**
     * 性别：2男性,1女性,0未知
     */
    private String gender;
    /**
     * 国籍
     */
    private String nationality;
    /**
     * 上级领导EID
     */
    @TableField("superior_EID")
    private String superiorEid;
    /**
     * 客户提供的组织部门ID
     */
    @TableField("cust_ID")
    private String custId;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getaManager() {
        return aManager;
    }

    public void setaManager(Boolean aManager) {
        this.aManager = aManager;
    }

    public Integer getHasBookingForOther() {
        return hasBookingForOther;
    }

    public void setHasBookingForOther(Integer hasBookingForOther) {
        this.hasBookingForOther = hasBookingForOther;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public String getDept1() {
        return dept1;
    }

    public void setDept1(String dept1) {
        this.dept1 = dept1;
    }

    public String getDept2() {
        return dept2;
    }

    public void setDept2(String dept2) {
        this.dept2 = dept2;
    }

    public String getCost1() {
        return cost1;
    }

    public void setCost1(String cost1) {
        this.cost1 = cost1;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getSuperiorEid() {
        return superiorEid;
    }

    public void setSuperiorEid(String superiorEid) {
        this.superiorEid = superiorEid;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String TENANT = "tenant";

    public static final String ORG = "org";

    public static final String EMPLOYEE_ID = "employee_id";

    public static final String NAME = "name";

    public static final String MOBILE = "mobile";

    public static final String EMAIL = "email";

    public static final String A_MANAGER = "a_manager";

    public static final String HAS_BOOKING_FOR_OTHER = "has_booking_for_other";

    public static final String BIRTHDAY = "birthday";

    public static final String FIRST_NAME = "first_name";

    public static final String LAST_NAME = "last_name";

    public static final String VALID = "valid";

    public static final String DEPT1 = "dept1";

    public static final String DEPT2 = "dept2";

    public static final String COST1 = "cost1";

    public static final String GENDER = "gender";

    public static final String NATIONALITY = "nationality";

    public static final String SUPERIOR_EID = "superior_EID";

    public static final String CUST_ID = "cust_ID";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CtripSmeUser{" +
                "id=" + id +
                ", userId=" + userId +
                ", tenant=" + tenant +
                ", org=" + org +
                ", employeeId=" + employeeId +
                ", name=" + name +
                ", mobile=" + mobile +
                ", email=" + email +
                ", aManager=" + aManager +
                ", hasBookingForOther=" + hasBookingForOther +
                ", birthday=" + birthday +
                ", firstName=" + firstName +
                ", lastName=" + lastName +
                ", valid=" + valid +
                ", dept1=" + dept1 +
                ", dept2=" + dept2 +
                ", cost1=" + cost1 +
                ", gender=" + gender +
                ", nationality=" + nationality +
                ", superiorEid=" + superiorEid +
                ", custId=" + custId +
                ", ts=" + ts +
                "}";
    }
}